<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class TrainingLevelHead extends BaseModel
{
    use HasFactory;

    //关联训练测试名表
    public function trainingLevel()
    {
        return $this->hasOne(TrainingLevel::class, 'id','training_level_id');
    }
}
